package com.kikyou.service;

import com.kikyou.pojo.Department;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kikyou.pojo.RespBean;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yuankaiqiang
 * @since 2022-03-08
 */
public interface IDepartmentService extends IService<Department> {

    /**
     * Description : TODO  获取组织架构<br/>
     * ChangeLog : 1. 创建 (2022/3/8 11:46 [ykq11]);
     * *
     * @return java.util.List<com.kikyou.pojo.Department>
     **/
    List<Department> getAllDepartment();
    /**
     * Description : TODO 添加部门 <br/>
     * ChangeLog : 1. 创建 (2022/3/8 18:19 [ykq11]);
     ** @param dep
     * @return com.kikyou.pojo.RespBean
     **/
    RespBean addDep(Department dep);

    /**
     * Description : TODO 删除部门 <br/>
     * ChangeLog : 1. 创建 (2022/3/8 18:29 [ykq11]);
     ** @param id
     * @return com.kikyou.pojo.RespBean
     **/
    RespBean deleteDep(Integer id);
}
